﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ModelLayer
{
    class Employee: Person
    {
        private string cpr;
        private string email;
        private string address;
        private int zipCode;

        public Employee(string fName, string lName, string telephone, string cpr, string email, string address, int zipCode)
            : base(fName, lName, telephone)
        {
            this.cpr = cpr;
            this.email = email;
            this.address = address;
            this.zipCode = zipCode;
        }

        public string Cpr
        {
            get { return cpr; }
            set { cpr = value; }
        }

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        public string Address
        {
            get { return address; }
            set { address = value; }
        }

        public int ZipCode
        {
            get { return zipCode; }
            set { zipCode = value; }
        }
    }
}
